load("@rules_go//go:def.bzl", "go_library", "go_test")

go_library(
    name = "cmputil",
    srcs = ["cmputil.go"],
    importpath = "github.com/pachyderm/pachyderm/v2/src/internal/cmputil",
    visibility = ["//src:__subpackages__"],
    deps = ["@com_github_google_go_cmp//cmp"],
)

go_test(
    name = "cmputil_test",
    size = "small",
    srcs = ["cmputil_test.go"],
    embed = [":cmputil"],
    deps = ["@com_github_google_go_cmp//cmp"],
)
